package com.shujia.wyh.day26;

/*
        定义一个类，获取锁对象
 */
public class MyLock {
    //创建两把锁
    public static final Object lock1 = new Object();
    public static final Object lock2 = new Object();
}
